package Java9_15;

import java.io.Serializable;
import java.util.Objects;

public class Vip implements Serializable {
    private String id;
    private int jifen;

    public Vip() {
    }

    public Vip(String id, int jifen) {
        this.id = id;
        this.jifen = jifen;
    }

    public String getId() {
        return id;
    }

    public void setId(String id) {
        this.id = id;
    }

    public int getJifen() {
        return jifen;
    }

    public void setJifen(int jifen) {
        this.jifen = jifen;
    }

    @Override
    public String toString() {
        return "卡号" + id  +
                "积分" + jifen ;
    }

}
